<?php $this->renderPartial('/layouts/header');?>
<?php
Yii::app()->clientScript->registerCss('wedo',"
        .wd {
        color: #FFFFFF;
        font: bold 35px/40px \"Impact\";
        letter-spacing: 0.05em;
        text-shadow: 0 1px 3px #666666;
        }
        .wd span {
         color: #1ABC9C;
        }
   ", 'screen',CClientScript::POS_HEAD);

?>
	<!-- START HEADER -->
    <div id="header">
    	<!-- logo -->
    	<div class="logo"><a target="_blank" href="<?php echo Yii::app()->homeUrl; ?>"><div class="wd" > <span>DO</span>DO</div></a></div>
        <!-- profile box -->
        <div id="profilebox">
        	<a href="#" class="display">
            	<img src="<?php echo $this->adminPath; ?>/img/simple-profile-img.jpg" width="33" height="33" alt="profile"/>	<b>您好!</b>	<span><?php echo Yii::app()->admin->getState('username') ?></span>
            </a>
            
            <div class="profilemenu">
            	<ul>
                	<li><a href="<?php echo Yii::app()->createUrl('admin/setting/repassword') ?>">重设密码</a></li>
                	<li><a href="<?php echo Yii::app()->createUrl('admin/auth/logout') ?>">登出</a></li>
                </ul>
            </div>
            
        </div>
        
        
        <div class="clear"></div>
    </div>
    <!-- END HEADER -->
    
    <!-- START MAIN -->
    <div id="main">
	<?php echo $content; ?>
	<div class="clear"></div>
    </div>
    <!-- END MAIN -->

<?php $this->renderPartial('/layouts/footer');?>